<DOCTYPE html>
<html>
<head>
    <title>下单失败</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php foreach ($this->config->item('style_css_paths') as $css): ?>
      <link rel="stylesheet" href=<?php echo $css ?> />
    <?php endforeach ?>
    <?php foreach ($this->config->item('style_js_paths') as $js): ?>
      <script type="text/javascript" src=<?php echo $js?> ></script>
    <?php endforeach ?>
</head>
<body>
        <div data-role="page" id="lover_failed"> 
        <div data-role="header" data-theme="a"  data-position="fixed">
            <h1>下单失败</h1>
        </div>   
        <div role="main" class="ui-content">
            <div class="ui-corner-all custom-corners">
              <div class="ui-bar ui-bar-a">
                <h3>下单失败</h3>
              </div>
              <div class="ui-body ui-body-a">
                <p>为避免重复下单，请稍后再试。如果需要查询下单是否成功，请到历史订单中查看。</p>
              </div>
            </div>
            
            <li class="ui-body ui-body-a">
                <fieldset class="ui-grid-a">
                    <div class="ui-block-a"><a href=<?php echo site_url("welcome/shop") ;?> class="ui-btn ui-corner-all ui-btn-a">返回店铺</a></div>
                    <div class="ui-block-b"><a href=<?php echo site_url('welcome/history?userid=') . $user_id;?> class="ui-btn ui-corner-all ui-btn-b">查看历史订单</a></div>
                </fieldset>
            </li>
        </div>   
        <div data-role="footer" data-position="fixed">
            <div data-role="navbar">
              <ul>
                <li><a href=<?php echo site_url("welcome") ;?>  data-icon="home">主页</a></li>
                <li><a href=<?php echo site_url("welcome/shop") ;?> data-icon="shop" class="ui-btn-active ui-state-persist">店铺</a></li>
                <li><a href=<?php echo site_url('welcome/history?userid=') . $user_id;?>  data-icon="check">历史订单</a></li>
                <li><a href=<?php echo site_url("welcome/info") ;?> data-icon="info">个人信息</a></li>
              </ul>
            </div>
        </div>
    </div>
</body>
</html>